package org.mwielocha.jxcube.player;

import java.io.IOException;

public interface IPlayer {

  void init() throws IOException;

  void play(String path) throws IOException;
  
  public void close() throws IOException;
  
  public void stop() throws IOException;
  
  public void addPlayerListener(IPlayerListener l);
  
  public void removePlayerListener(IPlayerListener l);
  
  public void setPosition(double position) throws IOException;
  
  public void enque(String path) throws IOException;
  
  public void setVolume(int value) throws IOException;

}